From 0b3c056cb7cc6892f991f55d064db74e800583e2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 30 Aug 2008 21:49:58 +0000 Subject: [PATCH] =?utf8?q?Bug=20549943=20=E2=80=93=20gtk=5Ftool=5Fshell=5F?= =?utf8?q?get=5Frelief=5Fstyle()=20always=20returns?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-08-30 Matthew Barnes Bug 549943 – gtk_tool_shell_get_relief_style() always returns GTK_RELIEF_NONE * gtk/gtktoolshell.c (gtk_tool_shell_get_relief_style): Return the correct relief style. svn path=/trunk/; revision=21252 --- ChangeLog | 8 ++++++++ gtk/gtktoolshell.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 77ae1fda06..9133e69853 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-08-30 Matthew Barnes + + Bug 549943 – gtk_tool_shell_get_relief_style() always returns + GTK_RELIEF_NONE + + * gtk/gtktoolshell.c (gtk_tool_shell_get_relief_style): Return + the correct relief style. + 2008-08-29 Björn Lindqvist Bug 437791 – Animation is played at the wrong speed diff --git a/gtk/gtktoolshell.c b/gtk/gtktoolshell.c index 248e634dd6..90b3842eab 100644 --- a/gtk/gtktoolshell.c +++ b/gtk/gtktoolshell.c @@ -128,7 +128,7 @@ gtk_tool_shell_get_relief_style (GtkToolShell *shell) GtkToolShellIface *iface = GTK_TOOL_SHELL_GET_IFACE (shell); if (iface->get_relief_style) - iface->get_relief_style (shell); + return iface->get_relief_style (shell); return GTK_RELIEF_NONE; } -- 2.30.2